﻿namespace LogicStudio.Framework.UI.Utilidades
{
    using System;

    public class ResultsArgs : EventArgs
    {
        public ResultsArgs(Exception ex)
        {
            _error = ex;
        }

        private readonly Exception _error;

        public Exception Error
        {
            get { return _error; }
        }

        public bool HasError
        {
            get { return _error != null; }
        }
    }
}
